package cn.edu.swpu.cins.u_chain.frontend.dao.user;

import cn.edu.swpu.cins.u_chain.frontend.entity.dto.user.other.OtherDetail;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.other.OtherInfoDB;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.other.ProfessionalInfo;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.other.ProfessionalKind;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.other.ProfessionalName;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface OtherDao {
    int addOtherInfo(OtherInfoDB otherInfoDB);

    int addProfessional(ProfessionalInfo professionalInfo);

    int addProfessionalKindName(ProfessionalKind professionalKind);

    int addProfessionalName(ProfessionalName professionalName);

    OtherDetail selectOtherDetail(int userId);
}
